/**
 * 
 */
package com.zt.samples.mybatis;

import org.apache.ibatis.annotations.Select;

/**
 * DemoNoXMLMapper.
 * @author yinxb
 *
 */
public interface DemoNoXMLMapper {
	/**
	 * 获取DemoBean.
	 * @param id id
	 * @return DemoBean
	 */
	@Select("SELECT id,name,addr as address,email FROM demo WHERE id = #{id}")
	  DemoBean selectDemo(long id);
}
